package cn.exrick.xboot.entity.agency;


import cn.exrick.xboot.base.XbootBaseEntity;
import com.baomidou.mybatisplus.annotations.TableName;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "a_city")
@TableName("a_city")
public class City extends XbootBaseEntity {
    private static final long serialVersionUID = 1L;

    private String cityName;
    @Column(unique = true,nullable = false)
    private String cityCode;
    private String provinceId;


//    @Transient
//    @TableField(exist=false)
//    @ApiModelProperty(value = "所拥有的供应商")
//    private List<Agency> agencies;
}
